package cn.qzuie.smart.module.dorm.controller.admin.energyequipment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 能源设备新增/修改 Request VO")
@Data
public class EnergyEquipmentSaveReqVO {

    @Schema(description = "表号")
    private String mac;

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "9102")
    private Long id;

    @Schema(description = "宿舍编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "22810")
    @NotNull(message = "宿舍编号不能为空")
    private Long dormitoryId;

    @Schema(description = "类型：空调0，照明1，水2", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "类型：空调0，照明1，水2不能为空")
    private Integer type;

    @Schema(description = "价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "4097")
    @NotNull(message = "价格不能为空")
    private Double price;

    @Schema(description = "网关", example = "963")
    private Long gatewayId;

    @Schema(description = "是否远程控制（开启1，关闭0）")
    private Integer isRemote;

}